<?php

namespace App\Lib\Taobao\request;
/**
 * TOP API: taobao.guangguang.content.image.upload request
 *
 * @author auto create
 * @since 1.0, 2023.11.24
 */
class GuangguangContentImageUploadRequest
{
    /**
     * 图片字节流
     **/
    private $imageBytes;

    /**
     * 文件类型
     **/
    private $mimeType;

    private $apiParas = array();

    public function setImageBytes($imageBytes)
    {
        $this->imageBytes = $imageBytes;
        $this->apiParas["image_bytes"] = $imageBytes;
    }

    public function getImageBytes()
    {
        return $this->imageBytes;
    }

    public function setMimeType($mimeType)
    {
        $this->mimeType = $mimeType;
        $this->apiParas["mime_type"] = $mimeType;
    }

    public function getMimeType()
    {
        return $this->mimeType;
    }

    public function getApiMethodName()
    {
        return "taobao.guangguang.content.image.upload";
    }

    public function getApiParas()
    {
        return $this->apiParas;
    }

    public function check()
    {

    }

    public function putOtherTextParam($key, $value)
    {
        $this->apiParas[$key] = $value;
        $this->$key = $value;
    }
}
